package com.zc.provider.service.impl;

import com.zc.api.service.UserService;
import org.apache.dubbo.config.annotation.DubboService;

import java.time.LocalDateTime;

@DubboService
public class UserServiceImpl implements UserService {
    @Override
    public String getUserName(Long userId) {
        return "user:" + userId + ":" + LocalDateTime.now();
    }
}
